package com.maxd.model;

import javax.persistence.*;
import java.io.Serializable;

@Entity
public class PddOrder implements Serializable {

    /**
     * auth_duo_id : 0
     * batch_no : str
     * cpa_new : 0
     * custom_parameters : str
     * fail_reason : str
     * goods_id : 0
     * goods_name : str
     * goods_price : 0
     * goods_quantity : 0
     * goods_thumbnail_url : str
     * group_id : 0
     * order_amount : 0
     * order_create_time : 0
     * order_group_success_time : 0
     * order_id : str
     * order_modify_at : 0
     * order_pay_time : 0
     * order_receive_time : 0
     * order_settle_time : 0
     * order_sn : str
     * order_status : 0
     * order_status_desc : str
     * order_verify_time : 0
     * p_id : str
     * promotion_amount : 0
     * promotion_rate : 0
     * type : 0
     * zs_duo_id : 0
     */
    @Column
    private Long auth_duo_id;
    @Column
    private String batch_no;
    @Column
    private Long cpa_new;
    @Column
    private String custom_parameters;
    @Column
    private String fail_reason;
    @Column
    private Long goods_id;
    @Column
    private String goods_name;
    @Column
    private Long goods_price;
    @Column
    private Long goods_quantity;
    @Column
    private String goods_thumbnail_url;
    @Column
    private Long group_id;
    @Column
    private Long order_amount;
    @Column
    private Long order_create_time;
    @Column
    private Long order_group_success_time;
    @Id()
    private String order_id;
    @Column
    private Long order_modify_at;
    @Column
    private Long order_pay_time;
    @Column
    private Long order_receive_time;
    @Column
    private Long order_settle_time;
    @Column
    private String order_sn;
    /**
     * 订单状态： -1 未支付; 0-已支付；1-已成团；2-确认收货；3-审核成功；4-审核失败（不可提现）；5-已经结算；8-非多多进宝商品（无佣金订单）
     */
    @Column
    private Long order_status;
    @Column
    private String order_status_desc;
    @Column
    private Long order_verify_time;
    @Column
    private String p_id;
    @Column
    private Long promotion_amount;
    @Column
    private Long promotion_rate;
    @Column
    private Long type;
    @Column
    private Long zs_duo_id;


    public Long getAuth_duo_id() {
        return auth_duo_id;
    }

    public void setAuth_duo_id(Long auth_duo_id) {
        this.auth_duo_id = auth_duo_id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public Long getCpa_new() {
        return cpa_new;
    }

    public void setCpa_new(Long cpa_new) {
        this.cpa_new = cpa_new;
    }

    public String getCustom_parameters() {
        return custom_parameters;
    }

    public void setCustom_parameters(String custom_parameters) {
        this.custom_parameters = custom_parameters;
    }

    public String getFail_reason() {
        return fail_reason;
    }

    public void setFail_reason(String fail_reason) {
        this.fail_reason = fail_reason;
    }

    public Long getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Long getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Long goods_price) {
        this.goods_price = goods_price;
    }

    public Long getGoods_quantity() {
        return goods_quantity;
    }

    public void setGoods_quantity(Long goods_quantity) {
        this.goods_quantity = goods_quantity;
    }

    public String getGoods_thumbnail_url() {
        return goods_thumbnail_url;
    }

    public void setGoods_thumbnail_url(String goods_thumbnail_url) {
        this.goods_thumbnail_url = goods_thumbnail_url;
    }

    public Long getGroup_id() {
        return group_id;
    }

    public void setGroup_id(Long group_id) {
        this.group_id = group_id;
    }

    public Long getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(Long order_amount) {
        this.order_amount = order_amount;
    }

    public Long getOrder_create_time() {
        return order_create_time;
    }

    public void setOrder_create_time(Long order_create_time) {
        this.order_create_time = order_create_time;
    }

    public Long getOrder_group_success_time() {
        return order_group_success_time;
    }

    public void setOrder_group_success_time(Long order_group_success_time) {
        this.order_group_success_time = order_group_success_time;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Long getOrder_modify_at() {
        return order_modify_at;
    }

    public void setOrder_modify_at(Long order_modify_at) {
        this.order_modify_at = order_modify_at;
    }

    public Long getOrder_pay_time() {
        return order_pay_time;
    }

    public void setOrder_pay_time(Long order_pay_time) {
        this.order_pay_time = order_pay_time;
    }

    public Long getOrder_receive_time() {
        return order_receive_time;
    }

    public void setOrder_receive_time(Long order_receive_time) {
        this.order_receive_time = order_receive_time;
    }

    public Long getOrder_settle_time() {
        return order_settle_time;
    }

    public void setOrder_settle_time(Long order_settle_time) {
        this.order_settle_time = order_settle_time;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public Long getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Long order_status) {
        this.order_status = order_status;
    }

    public String getOrder_status_desc() {
        return order_status_desc;
    }

    public void setOrder_status_desc(String order_status_desc) {
        this.order_status_desc = order_status_desc;
    }

    public Long getOrder_verify_time() {
        return order_verify_time;
    }

    public void setOrder_verify_time(Long order_verify_time) {
        this.order_verify_time = order_verify_time;
    }

    public String getP_id() {
        return p_id;
    }

    public void setP_id(String p_id) {
        this.p_id = p_id;
    }

    public Long getPromotion_amount() {
        return promotion_amount;
    }

    public void setPromotion_amount(Long promotion_amount) {
        this.promotion_amount = promotion_amount;
    }

    public Long getPromotion_rate() {
        return promotion_rate;
    }

    public void setPromotion_rate(Long promotion_rate) {
        this.promotion_rate = promotion_rate;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getZs_duo_id() {
        return zs_duo_id;
    }

    public void setZs_duo_id(Long zs_duo_id) {
        this.zs_duo_id = zs_duo_id;
    }
}
